<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>商品列表</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<style>
</style>
</head>
<body>
<div style="width: 300px;margin-left: auto;margin-right: auto;" >
<form action="order!orderPre" method="post">
	<h2 style="color: blue">商品展示</h2>
	<hr color="red" />
	<s:iterator value="goodsList">
		<s:property value="name" />&nbsp;&nbsp
		<input type="checkbox" name="goodses" value="<s:property value="id" />,<s:property value="name" />,<s:property value="price" />">选购
		<hr color="green" size="1px" />
    	厂商:<s:property value="manufacturer" />
		<br />
    	价格:<s:property value="price" />元
		<br />
		<s:property value="specification" />
		<hr color="red" />
	</s:iterator>
	<input type="submit" value="订购">
</form>
</div>
</body>
</html>
